home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 13
/
Aminet 13 - August 1996.iso
/
Aminet
/
comm
/
bbs
/
DayDrmBBS122.lha
/
InstallDD
< prev
next >
Wrap
Text File
|
1996-04-06
|
3KB
|
88 lines
; DayDream BBS installation program!
(set DDVersion "DayDream BBS 1.12")
(message
"\nThis installer just creates some directories and copies some files that DayDream BBS requires to work. "
"Unpack the DayDream BBS distribution archive to the directory you want it to be placed in. "
)
(set DestDir (askdir (prompt "Please Select the directory/partition where you have unpacked DayDream BBS?")
(help "This directory is the home of DayDream BBS and all the subdirectories will be placed here.")
(default "")
)
)
(makeassign "DayDream" (DestDir))
(makedir ("DayDream:Temporary"))
(makedir ("DayDream:Users"))
(makedir ("DayDream:Hold"))
(makedir ("DayDream:Data"))
(makedir ("DayDream:Batch"))
(makedir ("DayDream:Display"))
(makedir ("DayDream:Doors"))
(makedir ("DayDream:Questionnaire"))
(makedir ("DayDream:Logfiles"))
(message
"\nAll required directories have been made!"
)
(copylib
(prompt "Copying fifo-handler to L:...")
(help @copylib-help)
(source ("DayDream:l/fifo-handler"))
(dest "L:" )
(confirm)
)
(copylib
(prompt "Copying fifo.library to Libs:...")
(help @copylib-help)
(source ("DayDream:libs/fifo.library"))
(dest "Libs:" )
(confirm)
)
(copylib
(prompt "Copying reqtools.library to Libs:...")
(help @copylib-help)
(source ("DayDream:libs/reqtools.library"))
(dest "Libs:" )
(confirm)
)
(copylib
(prompt "Copying DreamDoor.library to Libs:...")
(help @copylib-help)
(source ("DayDream:libs/DreamDoor.library"))
(dest "Libs:" )
(confirm)
)
(run "c:protect DayDream:Batch/Logoff1.BAT +s")
(startup "DayDream"
(prompt "\nSeveral assignments need to be made to your S:User-Startup "
"file which allow DayDream to find all the files and directories "
"we've just installed.\n\n"
"In addition, other actions required by DayDream will be "
"added."
)
(help "DayDream requires several assignments so that it can find "
"all it's files. A couple of assign statements will be made "
"to your S:User-Startup file, and will also launch "
"several of the handlers DayDream requires."
)
(command
("\n" )
("assign DayDream: \"%s\"\n" (getassign "DayDream" ))
("assign Doors: DayDream:Doors/\n")
("setenv DreamUtils DayDream:Configs/\n")
("run <>NIL: L:FIFO-Handler\n" )
("path <>NIL: daydream:utils add\n" )
("rexxmast >NIL:\n\n" )
)
)
(run "c:assign Doors: DayDream:Doors/")
(run "setenv DreamUtils DayDream:Configs/")
(run "run <>NIL: L:Fifo-handler")
(run "rexxmast >NIL:")
(run "path <>NIL: DayDream:utils/ add")
(run "daydream:utils/dreamconfig daydream:daydream.cfg")